Selectively providing content on a social networking system

ABSTRACT

News feed stories are ranked so that new stories appear above previously viewed stories for users of a social networking system. Top news stories are selected by the social networking system based on a ranking algorithm that incorporates an analysis of affinities for interests, users, and entities in the social networking system based on user interactions. Other new stories are provided after the top new stories in a chronological order. For each user of the social networking system, a view state is recorded that includes the order of news feed stories provided to users. Based on the view state and received user input, the social networking system may determine whether to provide new news feed stories to a viewing user.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a divisional of co-pending U.S. application Ser. No.13/421,786, filed Mar. 15, 2012, now allowed, which is incorporated byreference in its entirety.

BACKGROUND

This invention relates generally to social networking, and in particularto selectively providing content on a social networking system.

In recent years, users of social networking systems have shared theirinterests and engaged with other users of the social networking systemsby sharing photos, real-time status updates, and playing social games.The amount of information gathered from users is staggering—informationdescribing a variety of “newsworthy” items, including recent moves to anew city, graduations, births, engagements, marriages, and the like, aswell as more mundane content such as status messages, information aboutwhat music has been listened to by users, and recent check-in events atcoffee shops. As users become more connected with other users andentities on the social networking system, the number of content itemsprovided to the users increases exponentially. Existing socialnetworking systems have ordered content items in reverse chronologicalorder such that newly published content is displayed first. However, asa result of a flood of content items published on social networkingsystems, users may be exposed to irrelevant and uninteresting contentwhile missing more relevant content that was previously presented.

Social networking systems may rank content items based on user interestsand affinities for other users, but providing a continuous andchronological stream of content to users may effectively obscure moreinteresting and relevant content items among less interesting contentitems that have been more recently published. Because users may load apage of a social networking system without reading content itemsprovided on the page, interesting and relevant content items may neverbe seen by the users. As a result of a decline in the user experience,users may become less engaged with the social networking system.

Specifically, users of social networking systems do not have aneffective tool to indicate whether content items have been read orotherwise consumed. Providing users with efficient methods of consumingcontent items on a social networking system is valuable in providing abetter user experience for users. As a result of consumption of contentitems, highly targeted contextual advertising may further providevaluable advertising revenue to the social networking system. However,existing systems have not provided users with tools or methods ofmanaging the consumption of numerous incoming content items.

SUMMARY

News feed stories are ranked so that new stories appear above previouslyviewed stories for users of a social networking system. Top news storiesare selected by the social networking system based on a rankingalgorithm that incorporates an analysis of affinities for interests,users, and entities in the social networking system based on userinteractions. Other new stories are provided after the top new storiesin chronological order. For each user of the social networking system, aview state is recorded that includes the order of news feed storiesprovided to users. Based on the view state and received user input, thesocial networking system may determine whether to provide new news feedstories to a viewing user.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is high level block diagram illustrating a process of selectivelyproviding content in a social networking system, in accordance with anembodiment of the invention.

FIG. 2 is a network diagram of a system for selectively providingcontent in a social networking system, showing a block diagram of thesocial networking system, in accordance with an embodiment of theinvention.

FIG. 3 is high level block diagram illustrating a news feed manager thatincludes various modules for managing content provided to users of asocial networking system, in accordance with an embodiment of theinvention.

FIG. 4 is a flowchart of a process of selectively providing content to aviewing user of a social networking system, in accordance with anembodiment of the invention.

FIGS. 5A and 5B are examples of a user interface of a process ofselectively providing content to a viewing user of a social networkingsystem, in accordance with an embodiment of the invention.

The figures depict various embodiments of the present invention forpurposes of illustration only. One skilled in the art will readilyrecognize from the following discussion that alternative embodiments ofthe structures and methods illustrated herein may be employed withoutdeparting from the principles of the invention described herein.

DETAILED DESCRIPTION Overview

A social networking system offers its users the ability to communicateand interact with other users of the social networking system. Usersjoin the social networking system and add connections to a number ofother users to whom they desire to be connected. Users of socialnetworking system can provide information describing them which isstored as user profiles. For example, users can provide their age,gender, geographical location, education history, employment history andthe like. The information provided by users may be used by the socialnetworking system to direct information to the user. For example, thesocial networking system may recommend social groups, events, andpotential friends to a user.

In addition to declarative information provided by users, socialnetworking systems may also record users' actions on the socialnetworking system. These actions include communications with otherusers, sharing photos, interactions with applications that operate onthe social networking system, such as a social gaming application,responding to a poll, adding an interest, and joining an employeenetwork. A social networking system may also be able to capture externalwebsite data that is accessed by its users. This external website datamay include websites that are frequently visited, links that areselected, and other browsing data. Information about users, such asstronger interests in particular users and applications than othersbased on their behavior, can be generated from these recorded actionsthrough analysis and machine learning by the social networking system.

A social networking system may also attempt to infer information aboutits users. A social networking system may analyze posted content byusers that include keywords, such as “wedding.” Location information maybe gathered from content items posted by users to infer a home locationof the user. As a result, a social networking system may infer certainprofile attributes of a user, such as geographic location, educationalinstitutions attended, and age range, by analyzing the user'sconnections and their declared profile information. Inferring profileattributes are further discussed in “Inferring User ProfileInformation,” U.S. application Ser. No. 12/916,322, filed on Oct. 29,2010, which is hereby incorporated by reference.

A social networking system may also enable users to explicitly expressinterest in a concept, such as celebrities, hobbies, sports teams,books, music, and the like. These interests may be used in a myriad ofways, including targeting advertisements and personalizing the userexperience on the social networking system by showing relevant storiesabout other users of the social networking system based on sharedinterests. In one embodiment, a social networking system may computeaffinity scores for users' interests either explicitly expressed orotherwise inferred on the social networking system and use theseaffinity scores in ranking new content items that will be published innews feeds, or communication channels on the social networking system,for the users. News feed rankings based on affinity scores are furtherdiscussed in related applications, “Adaptive Ranking of News Feed inSocial Networks,” U.S. application Ser. No. 13/194,770, filed on Jul.29, 2011 and “Ranking Newsfeed Based on Social Graph Information,” U.S.application Ser. No. 13/194,773, filed on Jul. 29, 2011, both which arehereby incorporated by reference.

A social graph includes nodes connected by edges that are stored on asocial networking system. Nodes include users and objects of the socialnetworking system, such as web pages embodying concepts and entities,and edges connect the nodes. Edges represent a particular interactionbetween two nodes, such as when a user expresses an interest in a newsarticle shared by another user about “America's Cup.” The social graphmay record interactions between users of the social networking system aswell as interactions between users and objects of the social networkingsystem by storing information in the nodes and edges that representthese interactions. Custom graph object types and graph action types maybe defined by third-party developers as well as administrators of thesocial networking system to define attributes of the graph objects andgraph actions. For example, a graph object for a movie may have severaldefined object properties, such as a title, actors, directors,producers, year, and the like. A graph action type, such as “purchase,”may be used by a third-party developer on a website external to thesocial networking system to report custom actions performed by users ofthe social networking system. In this way, the social graph may be“open,” enabling third-party developers to create and use the customgraph objects and actions on external websites.

Third-party developers may enable users of the social networking systemto express interest in web pages hosted on websites external to thesocial networking system. These web pages may be represented as pageobjects in the social networking system as a result of embedding awidget, a social plug-in, programmable logic or code snippet into theweb pages, such as an iFrame. Any concept that can be embodied in a webpage may become a node in the social graph on the social networkingsystem in this manner. As a result, users may interact with many objectsexternal to the social networking system that are relevant to a keywordor keyword phrase, such as “Justin Bieber.” Each of the interactionswith an object may be recorded by the social networking system as anedge. By enabling advertisers to target their advertisements based onuser interactions with objects related to a keyword, the advertisementsmay reach a more receptive audience because the users have alreadyperformed an action that is related to the advertisement. For example, amerchandiser that sells Justin Bieber t-shirts, hats, and accessoriesmay target ads for new merchandise to users that have recently performedone of multiple different types of actions, such as listening to JustinBieber's song “Baby,” purchasing Justin Bieber's new fragrance,“Someday,” commenting on a fan page for Justin Bieber, and attending anevent on a social networking system for the launch of a new JustinBieber concert tour. Enabling third-party developers to define customobject types and custom action types is further described in a relatedapplication, “Structured Objects and Actions on a Social NetworkingSystem,” U.S. application Ser. No. 13/239,340 filed on Sep. 21, 2011,which is hereby incorporated by reference.

Even though a social networking system may collect, and in some casesinfer, information about its users, significant resources must beexpended to organize the staggering amounts of data collected. A socialnetworking system having hundreds of millions of users, for example,gathers and infers a staggering amount of information about its users.To address issues of scalability and efficiently expending computingresources, a social networking system provides a snapshot of databasesfor modules to process. Recent changes in a user's personal life, suchas an engagement, birth of a child, moving across the country,graduating from college, and starting a new job, can be collected andinferred from these snapshots on social networking systems. Contentitems related to these life events may be prioritized in a ranking ofnews feed stories selectively provided to users to ensure that the mostrelevant information is consumed first, in one embodiment.

As users accumulate more connections on a social networking system, newsfeeds, or the communication channels used by the social networkingsystem to communicate content posted by the users' connections, have thepotential to become inundated and clogged with irrelevant information.Ranking content items according to users' interests and affinities forother users may help to mitigate this problem. However, a socialnetworking system may be unable to determine whether users that engagewith the social networking system often, even multiple times a day withdifferent devices associated with the same user profile, have finishedviewing the content items already provided. Often times, a user may loada web page on the social networking system and inadvertently overlook aparticularly engaging content item posted by another user connected tothe user. This leads to less user engagement on the social networkingsystem.

Social networking systems strive to keep their users engaged bydelivering relevant content as soon as users are able to consume thecontent. Determining whether users are ready to view more content,especially as users accumulate hundreds and even thousands of “friends”on the social networking system, is valuable to ensuring that usersremain engaged with the social networking system without inundatingtheir newsfeeds with irrelevant content. Machine learning and heuristicsanalysis may be used in selectively providing content to users of asocial networking system.

FIG. 1 illustrates a high level block diagram of a process forselectively providing content to users of a social networking system, inone embodiment. The social networking system 100 uses different types ofinformation about users in the process of selectively providing contentto users, including user profile objects 102, an action log 104, andedge objects 106. Each user of the social networking system 100 isassociated with a specific user profile object 102. These user profileobjects 102 include declarative information about the user that wasexplicitly shared by the user as well as any profile informationinferred by the social networking system 100. In one embodiment, a userprofile object 102 may include thirty or more different data fields,each data field describing an attribute of the corresponding user of thesocial networking system 100.

Users of the social networking system 100 may take actions using thesocial networking system 100 that are associated with one or moreobjects. Information describing these actions is stored in the actionlog 104. The action log 104 includes many different types ofinteractions that occur on a social networking system, includingcommenting on a photo album, communications between users, becoming afan of a musician, and adding an event to a calendar. Additionally, theaction log 104 records a user's interactions with advertisements on thesocial networking system 100 as well as other applications operating onthe social networking system 100.

Edge objects 106 store information about users' connections to othernodes on a social networking system 100. Such information may includethe interactions between the user and the connection on the socialnetworking system 100, including wall posts, comments on photos,geographic places where they have been tagged together, and photos inwhich they have both been tagged in. In one embodiment, an edge object106 includes information about the strength of the connection betweenthe users, such as an affinity score. If a user has a high affinityscore for a particular connection, the social networking system 100 hasrecognized that the user interacts highly with that connection. Affinityscores and methods of gathering this social data from a socialnetworking system are described further in “Contextually RelevantAffinity Prediction in a Social Networking System,” U.S. applicationSer. No. 12/978,265, filed on Dec. 23, 2010, which is herebyincorporated by reference.

A viewing user device 108 may connect with the social networking system100 and request content in a news feed user interface 118. A news feedmanager 110 responds to the request from the viewing user device 108 byfirst determining previously presented news feed stories 116 for theuser associated with the viewing user device 108. Incoming news feedstories 112 for the user associated with the viewing user device 108 aredetermined and then ranked by a news feed ranking module 114. The topincoming news feed stories 112 may be selected by the news feed manager110 and displayed in the news feed above the remaining incoming newsfeed stories 112. The news feed ranking module 114 may use informationabout the user associated with the viewing user device 108 to determinethe ranking of content items in the news feed for the user. This userinformation may be obtained from user profile objects 102, edge objects106, and actions stored in the action log 104 associated with the user.

The news feed manager 110 may then provide previously presented newsfeed stories 116 below the incoming news feed stories 112 for renderingin the news feed user interface 118 based on received user input thatindicates the user has finished consuming the previously presented newsfeed stories 116. As a result, the viewing user will see the top newnews stories first, followed by the remaining new news stories, and thenthe previously presented news feed stories. Such user input may includeclicking on, or otherwise selecting, a link in the news feed userinterface 118 for more news stories, detecting a scroll action from theviewing user device 108, receiving clicking actions on various contentitems in news feed user interface 118, and an elapsed time spent on thenews feed user interface 118 after loading the news feed user interface118 on the viewing user device 108.

The news feed manager 110 records, for each user on the socialnetworking system 100, a “view state” of the news feed stories that havebeen presented in each user's news feed, storing the order of thestories that have been presented. The view state at a particular timemay be stored in a view state object 120 associated with the user. Usingthis view state, the news feed manager 110 may determine whether newsfeed stories have evolved, changing the ranking of the news feedstories. For example, a viewing user may be connected to another userthat shared a link about a news story about Christmas shopping. Theviewing user may express interest in this link by sharing the news storywith other users connected to the viewing user, commenting on the newsstory, or “liking” the news story. Later, other users connected to theviewing user may further interact with the news story or may post othernews stories related to the topic of the news story about Christmas. Thenews feed ranking module 114 may rank the news story higher as a resultof users with high affinities interacting with the news feed story.Because these interactions have evolved the previously presented newsstory 116, the news story may be presented to the viewing user as anincoming news feed story 112 by the news feed manager 110. In addition,the news feed manager 110 may cluster the news feed stories aboutChristmas into one news feed story, showing the newer interactions byother users.

The news feed manager 110 may, in one embodiment, use machine learningmethods to selectively provide new content to users of the socialnetworking system 100. Each user on the social networking system 100 mayhave different affinities for other users on the social networkingsystem 100, interests and concepts embodied as nodes on the social graphof the social networking system 100, and applications that may beinstalled on the social networking system 100. Content items produced bythese users, interests, concepts, and applications have the potential toflood users with irrelevant information, effectively hiding morerelevant items. Machine learning may be used to predict which contentitems are more relevant for users as well as when users may be ready toconsume new content items by analyzing user behaviors on the socialnetworking system.

As a viewing user device 108 loads a news feed user interface 118, thenews feed manager 110 may render a link in the news feed user interface118 to indicate a number of new stories that have been accumulated. Inthis way, the user may read and/or consume top news stories that havebeen posted since the last time the user logged in. In one embodiment,the news feed manager 110 may determine that the user associated withthe viewing user device 108 is actively engaged with the news feedinterface 118 and may automatically update the news feed user interface118 with top incoming news feed stories 112 as ranked by the news feedranking module 114. In another embodiment, the news feed manager 110 maydetermine that a top incoming news feed story 112 warrants automaticallyupdating the news feed user interface 118 for the user based on pastuser behaviors. In a further embodiment, the news feed manager 110 mayupdate the link in the news feed user interface 118 to indicate anupdated number of new stories that have been accumulated and await userinput, such as a mouse click, a touchpad input, voice input, gestureinput, or keyboard input, to execute the link and display the newincoming news feed stories 112. A “click” action may be defined as anyuser input used to select and execute a link.

In one embodiment, the news feed manager 110 may dynamically render thepreviously presented news feed stories 116 and incoming news feedstories 112 in a ranking determined by the news feed ranking module 114based on user input received, or lack of receipt, from the news feeduser interface 118 on the viewing user device 108. For example, a usermay access a social networking system 100 through a viewing user device108 in the morning and browse through content items that are provided inthe news feed user interface 118. Once provided in the news feed userinterface 118, the order of the previously presented news feed stories116 is stored as the user's view state at that time in a view stateobject 120 associated with the viewing user. The user may then browse onother sites on the viewing user device 108 and leave the news feed userinterface 118 open, where the news feed user interface 118 is embodiedon a web page loaded by a web browser or on a native application on amobile device. Later that afternoon, the user may again access thesocial networking system 100 through the viewing user device 108 toeither continue browsing previously presented news feed stories 116 ornew incoming news feed stories 112. As described above, the news feedmanager 110 may render a link in the news feed user interface 118 toindicate that incoming news feed stories 112 are available. The user mayclick on the link to view the new incoming news feed stories 112. Thisuser input may cause the news feed manager 110 to provide for display inthe news feed user interface 118 the incoming news feed stories 112 asranked by the news feed ranking module 114 above the previouslypresented news feed stories in the order stored in the user's view statethat morning retrieved from the view state object 120 associated withthe user.

Alternatively, the user may never click on that link to display theincoming news feed stories 112. In that case, the news feed manager 110may continue holding the incoming news feed stories 112 while refreshingthe link that indicates an increasing amount of new stories. On theother hand, the news feed manager 110 may automatically refresh the newsfeed user interface 118 to display the incoming news feed stories 112with the previously presented news feed stories 116. In one embodiment,the news feed ranking module 114 may rank a new incoming news feed story112 below a previously presented news feed story 116 because thepreviously presented news feed story 116 may have been highly interactedwith by other users connected to the viewing user, may have evolved bythe original publishing user commented on the previously presented newsfeed story 116, or may be of high interest to multiple users connectedto the viewing user. As a result, the incoming news feed stories areselectively provided to the viewing user based on information gatheredabout that user as well as the view state of the news feed for thatuser.

System Architecture

FIG. 2 is a high level block diagram illustrating a system environmentsuitable for selectively providing content to users of a socialnetworking system, in accordance with an embodiment of the invention.The system environment comprises one or more user devices 202, thesocial networking system 100, a network 204, and external website 216.In alternative configurations, different and/or additional modules canbe included in the system.

The user devices 202 comprise one or more computing devices that canreceive user input and can transmit and receive data via the network204. In one embodiment, the user device 202 is a conventional computersystem executing, for example, a Microsoft Windows- compatible operatingsystem (OS), Apple OS X, and/or a Linux distribution. In anotherembodiment, the user device 202 can be a device having computerfunctionality, such as a personal digital assistant (PDA), mobiletelephone, smart-phone, etc. The user device 202 is configured tocommunicate via network 204. The user device 202 can execute anapplication, for example, a browser application that allows a user ofthe user device 202 to interact with the social networking system 100.In another embodiment, the user device 202 interacts with the socialnetworking system 100 through an application programming interface (API)that runs on the native operating system of the user device 202, such asiOS and ANDROID.

In one embodiment, the network 204 uses standard communicationstechnologies and/or protocols. Thus, the network 204 can include linksusing technologies such as Ethernet, 802.11, worldwide interoperabilityfor microwave access (WiMAX), 3G, 4G, CDMA, digital subscriber line(DSL), etc. Similarly, the networking protocols used on the network 204can include multiprotocol label switching (MPLS), the transmissioncontrol protocol/Internet protocol (TCP/IP), the User Datagram Protocol(UDP), the hypertext transport protocol (HTTP), the simple mail transferprotocol (SMTP), and the file transfer protocol (FTP). The dataexchanged over the network 204 can be represented using technologiesand/or formats including the hypertext markup language (HTML) and theextensible markup language (XML). In addition, all or some of links canbe encrypted using conventional encryption technologies such as securesockets layer (SSL), transport layer security (TLS), and InternetProtocol security (IPsec).

FIG. 2 contains a block diagram of the social networking system 100. Thesocial networking system 100 includes a user profile store 206, a webserver 208, an action logger 210, an action log 104, a content store212, an edge store 214, a news feed manager 110, a news feed rankingmodule 114, a news feed story store 218, and a view state store 220. Inother embodiments, the social networking system 100 may includeadditional, fewer, or different modules for various applications.Conventional components such as network interfaces, security functions,load balancers, failover servers, management and network operationsconsoles, and the like are not shown so as to not obscure the details ofthe system.

The web server 208 links the social networking system 100 via thenetwork 204 to one or more user devices 202; the web server 208 servesweb pages, as well as other web-related content, such as Java, Flash,XML, and so forth. The web server 208 may provide the functionality ofreceiving and routing messages between the social networking system 100and the user devices 202, for example, instant messages, queued messages(e.g., email), text and SMS (short message service) messages, ormessages sent using any other suitable messaging technique. The user cansend a request to the web server 208 to upload information, for example,images or videos that are stored in the content store 212. Additionally,the web server 208 may provide API functionality to send data directlyto native user device operating systems, such as iOS, ANDROID, webOS,and RIM.

The action logger 210 is capable of receiving communications from theweb server 208 about user actions on and/or off the social networkingsystem 100. The action logger 210 populates the action log 104 withinformation about user actions to track them. Such actions may include,for example, adding a connection to the other user, sending a message tothe other user, uploading an image, reading a message from the otheruser, viewing content associated with the other user, attending an eventposted by another user, among others. In addition, a number of actionsdescribed in connection with other objects are directed at particularusers, so these actions are associated with those users as well. Theseactions are stored in an action log 104.

An action log 104 may be used by a social networking system 100 to trackusers' actions on the social networking system 100 as well as externalwebsites that communication information back to the social networkingsystem 100. As mentioned above, users may interact with various objectson the social networking system 100, including commenting on posts,sharing links, and checking-in to physical locations via a mobiledevice. The action log 104 may also include user actions on externalwebsites. For example, an e-commerce website that primarily sells luxuryshoes at bargain prices may recognize a user of a social networkingsystem 100 through social plug-ins that enable the e-commerce website toidentify the user of the social networking system. Because users of thesocial networking system 100 are uniquely identifiable, e-commercewebsites, such as this luxury shoe reseller, may use the informationabout these users as they visit their websites. The action log 104records data about these users, including viewing histories,advertisements that were clicked on, purchasing activity, and buyingpatterns.

User account information and other related information for users arestored as user profile objects 108 in the user profile store 206. Theuser profile information stored in user profile store 206 describes theusers of the social networking system 100, including biographic,demographic, and other types of descriptive information, such as workexperience, educational history, gender, hobbies or preferences,location, and the like. The user profile may also store otherinformation provided by the user, for example, images or videos. Incertain embodiments, images of users may be tagged with identificationinformation of users of the social networking system 100 displayed in animage. The user profile store 206 also maintains references to theactions stored in an action log and performed on objects in the contentstore 212.

The edge store 214 stores the information describing connections betweenusers and other objects on the social networking system 100 in edgeobjects 110. Some edges may be defined by users, allowing users tospecify their relationships with other users. For example, users maygenerate edges with other users that parallel the users' real-liferelationships, such as friends, co-workers, partners, and so forth.Other edges are generated when users interact with objects in the socialnetworking system 100, such as expressing interest in a page on thesocial networking system, sharing a link with other users of the socialnetworking system, and commenting on posts made by other users of thesocial networking system. The edge store 214 stores edge objects thatinclude information about the edge, such as affinity scores for objects,interests, and other users. Affinity scores may be computed by thesocial networking system 100 over time to approximate a user's affinityfor an object, interest, and other users in the social networking system100 based on the actions performed by the user. Multiple interactionsbetween a user and a specific object may be stored in one edge object inthe edge store 214, in one embodiment. For example, a user that playsmultiple songs from Lady Gaga's album, “Born This Way,” may havemultiple edge objects for the songs, but only one edge object for LadyGaga.

A news feed manager 110 selectively provides content to users of asocial networking system 100 and records the consumption of content byusers using view state objects 120 for the users of the socialnetworking system 100. View state objects 120 are stored in the viewstate store 220 and are associated with user profile objects 102 storedin the user profile store 206. As new news feed stories are generatedfor a user by the news feed manager 110, the news feed stories areranked by the news feed ranking module 114 and stored in the news feedstory store 218. The news feed manager 110 may communicate with userdevices 202 through the web server 208 and network 204 to providecontent to users of the social networking system 100. In one embodiment,a news feed manager 110 may provide content through a social plug-in,such as an iFrame, to an external website 216 to provide content postedon the social networking system 100 about an entity associated with theexternal website 216. As an example, a business entity that creates apage on the social networking system 100 may desire to publish thecontent items posted on the page's news feed in the social networkingsystem to an external website 216 via a social plug-in installed on theexternal website 216.

Selecting Content to Provide to Users of a Social Networking System

FIG. 3 illustrates a high level block diagram of the news feed manager110 in further detail, in one embodiment. The news feed manager 110provides the functionality for managing activities related to news feedincluding, generating the news feed stories, selecting the news feedstories for presentation to users of the social networking system 100,retrieving a ranking of the news feed stories identified forpresentation to a user, and presenting the news feed stories via thenews feed user interface 118. A news feed story may describe objectsrepresented in the social networking system, for example, an image, avideo, a comment from a user, status messages, external links, contentgenerated by the social networking system, applications, games, or userprofile. The news feed manager 110 includes a news feed generator 300, anews feed presentation module 302, a news feed user interface module304, a view state manager 306, a news feed story highlighting module308, and a machine learning module 310. These modules may perform inconjunction with each other or independently to selectively providecontent to users of a social networking system 100.

The news feed generator 300 module generates news feed stories forpresentation to users of the social networking system 100. The user towhom a news feed story is presented is referred to as a viewer of thenews feed story. In an embodiment, the news feed generator 304 analyzesinformation stored in the action log 104 to identify information usefulfor generating news feed stories. The news feed generator 300 identifiesactions stored in action log 104 that are likely to be of interest toviewers and extracts information describing these actions from theaction log 104 to generate incoming news feed stories 112.Alternatively, the news feed generator 300 can obtain informationdescribing actions from other modules, for example, from the actionlogger 210, or other run time modules that implement functionality forperforming different types of actions. For example, if a user uploads animage to the social networking system 100, the module executing the codefor uploading the image can inform the news feed generator 300 of theaction so that the news feed generator 300 can generate a news feedstory describing the action.

The news feed generator 300 may determine that certain actions are notlikely to be of interest to users for reporting as incoming news feedstories 112. For example, a user hiding a comment posted by another useror a user changing certain types of user preferences may not be ofinterest to other users and is therefore not reported in news feedstories. However, other changes made by a user to the user's profile maybe considered interesting for other users, for example, a change inrelationship status of a user. The news feed generator 300 may notgenerate news feed stories based on certain actions as a matter ofpolicies enforced by the social networking system 100. For example, auser viewing user profile of another user or a user sending a privatemessage to another user may not be presented as news feed stories due toprivacy concerns. Furthermore, the news feed generator 300 may considerprivacy settings of individual users to determine whether certainactions of a user can be presented as news feed stories to other users.A user may set the user's privacy settings to limit the set of people towhom news feed stories describing the user's actions may be sent. Forexample, a user may allow only connections of the user to receiveinformation describing the users' actions, whereas another user mayallow connections of the user's connections to receive the information.A user may restrict the types of actions that are reported as news feedstories. For example, the user may specify that certain actions, forexample, adding a new connection may not be reported as news feedstories.

In an embodiment, the news feed generator 300 stores generated news feedstories in the news feed story store 218. The news feed story store 218may be represented as a database that links various objects related tothe news feed stories. Each news feed story stored in the news feedstory store 218 can be associated with other entities in the socialnetworking system 100. For example, a news feed story may be associatedwith one or more users that performed an action described in the newsfeed story as well as with a representation of the video in the socialnetworking system 100. The users that performed the actions described inthe news feed story are called the actors. For example, if the news feedstory describes a comment posted by John on a video posted by Jack, bothJohn and Jack can be considered actors of the news feed story. Asanother example, a news feed story describing a comment posted by a userin response to another user's wall post may be associated with both theuser who posted the message on the wall and the user who posted thecomment.

A news feed presentation module 302 provides generated content items, ornews feed stories, for display on news feed user interfaces 118 onviewing user devices 108. The news feed presentation module 302determines the news feed stories to be presented to a user and providesthe stories selected for presentation to the news feed user interfacemodule 304. The news feed user interface module 304 presents theselected news feed stories to the news feed user interface 118 on aviewing user device 108. The news feed presentation module 302determines a set of stories for presentation to a viewer based onassociations between the stories and the viewer. These associations aredetermined on various factors including, whether the story describes auser of the social networking system that is connected to the user,whether the viewer previously accessed information describing an entityrepresented in the social networking system that is described in thestory, whether the viewer interacted with another story that is relatedto the current story, and the like. The news feed presentation module302 uses the news feed ranking module 114 to rank the news feed storiesbeing presented to the user.

The news feed presentation module 302 may present a subset of thestories based on the rank, for example, the top 10 stories, depending onthe display area available on the news feed user interface 118 forpresenting the stories. The news feed presentation module 302 presentsthe stories in the order determined by the ranking, for example, storiesranked higher may be presented more prominently compared to storiesranked lower. In an embodiment, the stories ranked higher are presentedabove the stories ranked lower. In a further embodiment, the remainingincoming news stories not selected as the “top” news stories may bepresented in a chronological order after the top news stories. In otherembodiments, stories ranked higher may be presented more prominently bydisplaying them using an appropriate text color, font, text size, background color, etc.

A view state manager 306 operates independently and asynchronously fromthe other modules in the news feed manager 110. The view state manager306 determines when to capture a view state of the news feed for eachuser of a social networking system 100. A viewing user may login to asocial networking system 100 to start a new viewing session. Throughoutthe session, incoming news feed stories 112 may be provided to a viewinguser, and as a result, the view state for the viewing user has changed.The view state manager 306 may determine that, after each news feedstory is published to a user's news feed, the view state should beupdated in the view state object 120. The view state object 120 isstored in a view state store 220 which may be embodied in super fastmemory, in one embodiment. In one embodiment, the view state is updatedwhen a user's session expires. The session may expire based on a lack ofengagement with or activity on the social networking system 100 by theuser. For example, a user may open a web browser on a user device 202 toconnect to the social networking system 100. After browsing news feedstories, the user may open another browser window to view other webpages not connected to the social networking system 100. In oneembodiment, the session created when the user first connected with thesocial networking system 100 will expire based on a predetermined timeperiod of non-activity elapsing. In another embodiment, the viewingsession expires when the user logs out of the social networking system100. When a session expires, the view state, which includes an order ofnews feed stories and indications of whether news feed stories werefeatured or highlighted as a top story, is stored in the view stateobject 120 associated with the user.

Using the view state manager 306, the news feed manager 110 maydetermine that the user is not yet ready to read or consume more newsfeed stories. For example, if a user starts a new session but does notscroll down the news feed, as detected by the news feed user interfacemodule 304, then the news feed manager 110 may assume that the user hasnot yet read the news feed stories provided on the news feed userinterface. If that user later starts another session, the previouslypresented news feed stories 116 remain frozen on the news feed userinterface using the view state previously stored by the view statemanager 306. A link may be rendered by the news feed user interfacemodule 304 to indicate that incoming news feed stories 112, generated bythe news feed generator 300 and ranked by the news feed ranking module114, are available for consumption without presenting the new incomingnews feed stories 112. In one embodiment, the link includes a number ofincoming news feed stories 112 that are available. This number may bedynamically updated in real-time as new news feed stories are generatedby the news feed generator 300. In another embodiment, the news feeduser interface module 304 may include a preview of the new incoming newsfeed stories 112 that are available for consumption without publishingthe incoming news feed stories 112 and changing the view state.

In a further embodiment, the news feed manager 110 may infer that a userhas finished consuming or reading the news feed stories that arepresented upon loading the news feed user interface on a user device202. In that case, the incoming news feed stories 112 may beautomatically rendered and presented by the news feed presentationmodule 302 upon creation by the news feed generator 300 and ranking bythe news feed ranking module 114. The view state would also be updatedby the view state manager 306. In yet another embodiment, the news feedmanager 110 may hold the incoming news feed stories 112 behind a linkrendered by the news feed user interface module 304 unless or until atop story has been generated by the news feed generator 300 and rankedby the news feed ranking module 114. The top new news story may have aprediction score, determined by the news feed ranking module 114, thatexceeds a predetermined threshold to cause the news feed manager 110 topublish the top news story without determining that the viewing user isready to consume more news stories.

A news feed story highlighting module 308 selects news feed stories thathave been highlighted by the news feed ranking module 114 as highlyrelevant stories for a viewing user. Highlighted stories may bedisplayed in a news feed more prominently above other news feed storiesand may also be rendered in a different color or background to denotethat the stories have been highlighted. The news feed story highlightingmodule 308 may also, in one embodiment, combine news feed stories thatare about the same topic or refer to the same link. For example, thenews feed story highlighting module 308 may analyze keywords that areincluded in content items that posted on the social networking system100, such as “Christmas,” and combine those news feed stories into acondensed news feed story that is highlighted for the viewing user tosee on their news feed. This enables the viewing user to browse througha news feed more efficiently by combining redundant and similar posts.In another embodiment, a separate news feed process groups theseredundant and similar posts into a single combined post and operates inconjunction with the news feed story highlighting module 308 tohighlight the combined post on the news feed.

In one embodiment, the news feed story highlighting module 308 mayinclude programmable logic, or instructions, to ensure that a news feedstory that was posted by another user or entity connected to the viewinguser is highlighted, based on the affinity score for that user. Forexample, if a viewing user is highly interested in news feed storiesposted by another user on the social networking system 100, such as theviewing user's wife, based on user profile information, interactionswith that user, as well as content posted by that user, then the newsfeed story highlighting module 308 may be configured to highlight allnews feed stories published by that user. In one embodiment, a viewinguser may interact with the news feed user interface to indicate that anews feed story should be highlighted. In doing so, the news feed storyhighlighting module 308 may better understand what types of news feedstories appeal to the viewing user. Similarly, the viewing user mayindicate that a highlighted story should not be highlighted byinteracting with the news feed user interface.

In another embodiment, the news feed story highlighting module 308 maygenerate a prediction model for each user on the social networkingsystem 100 to predict which news feed stories should be highlightedbased on a number of factors, including the authoring user of the newsfeed story, the topic of the news feed story, the type of contentincluded in the news feed story, applications that have published thenews feed story, reputation metrics of users that have published thenews feed story, and a virality metric of the news feed story. Aprediction model may, over time, adjust weights for these factorsdepending on user interactions that differ from user to user. Machinelearning methods may be used to optimize the prediction models to bespecific to each viewing user, in one embodiment. In this way, viewingusers with differing affinities for different types of content items mayhave more personalized news feeds.

A machine learning module 310 may be used in the news feed manager 110to refine the predictive models and select the predictive factors usedfor selecting highlighted news feed stories. In one embodiment, a socialnetworking system 100 uses a machine learning algorithm to analyze userinteractions with highlighted stories to retrain the predictive model.Using feedback from the user interactions indicating whether a news feedstory should be highlighted, the predictive model may be refined toinclude more or less predictive factors and the weights assigned to eachpredictive factor, or coefficients, can also be adjusted based upon theresponse, i.e., the user interactions with the highlighted stories.

In another embodiment, the machine learning module 310 may be used todetermine whether a previously presented news feed story, such as ashared link to a video, may evolve into a new incoming news feed storybased on other users sharing the link, commenting on the link, orotherwise interacting with the link. For example, if a very close friendof a viewing user, as determined from an affinity score for the userprofile object for the very close friend, shared the link that waspreviously presented on the viewing user's news feed, the previouslypresented news feed story may be combined into a single news feed storythat includes the other users that have shared the link, including thevery close friend and his comments about the link, if any. The machinelearning module 310 may be used to determine, in conjunction with thenews feed story highlighting module 308, whether such stories shouldevolve and be presented to the viewing user again.

FIG. 4 illustrates a flow chart diagram depicting a process ofselectively providing content to a viewing user of a social networkingsystem, in accordance with an embodiment of the invention. A view statefor a user of a social networking is maintained 402, where the viewstate includes an order of news feed stories provided to the user. Theview state for a user may be stored in a view state object 120associated with a user profile object 102 for the user each time newnews feed stories are provided to the user. The view state may bemaintained 402 over time to store the order in which news feed storieshave been presented to the user, regardless of the user device on whichthe user interacts with the news feed stories.

A request for new news feed stories may be received 404 from the user.This request may be in the form of an application programming interface(API) call from a mobile device application that requests content for anews feed user interface on the user device, in one embodiment. Inanother embodiment, the request may be received 404 as a web pagerequest for content in a news feed user interface on the browser windowoperating on the user device.

Once a request for new news feed stories has been received 404, new newsfeed stories are obtained 406. The news feed generator 300 in the newsfeed manager 110 may generate new news feed stories and hold them in aqueue to be presented to the viewing user. The new news feed stories maybe obtained from this queue, in one embodiment. In another embodiment,new news feed stories may be generated upon receiving 404 the requestfrom the user. In a further embodiment, a news feed ranking module 114may identify a top news feed story for the news feed story highlightingmodule 308. As a result, the top news feed story is obtained 406 as anew news feed story. This new news feed story may, in one embodiment,include a plurality of news feed stories that have been combined into asingle news feed story. Remaining new news feed stories, other than theselected top news feed stories, are also obtained 406.

After new news feed stories are obtained 406, the social networkingsystem 100 determines 408 whether the user read the provided news feedstories based on received user input. If the social networking system100 determines 408 that the user has not read the provided news feedstories based on received user input, then a link is provided 410 to theuser to indicate that new news feed stories have been generated and newnews feed stories are continuously obtained 406. User input that mayindicate whether the user has read the provided news feed storiesincludes a scroll action on a web browser or mobile application, a clickaction on a link provided in a news feed story, and a refresh of theuser interface on the web browser or mobile application. In oneembodiment, no user input is needed, and if the web browser is active orthe mobile application is open, the social networking system 100 maydetermine 408 that the user has read the provided news feed stories. Inanother embodiment, the social networking system 100 determines 408 thatthe user has read the provided news feed stories based on apredetermined time period elapsing.

After the social networking system 100 has determined 408 that the userhas read the provided news feed stories, the new news feed stories areprovided 412 to the user according to a news feed ranking The new newsfeed stories are ranked by the news feed ranking module 114 and may behighlighted by the news feed story highlighting module 308 in the newsfeed manager 110. In one embodiment, the new news feed stories areprovided 412 to the user according to a prediction model generated bythe news feed story highlighting module 308 based on previous userinteractions on the social networking system 100. In another embodiment,the news feed ranking may change dynamically, based on newly generatednews feed stories. In a further embodiment, the top new news feedstories are provided in ranked order, followed by the remaining new newsfeed stories in a chronological order, such as reverse chronologicalorder.

After the new news feed stories are provided 412 to the user, the viewstate for the user is updated 414, such that the updated view stateincludes a new order of the news feed stories provided to the user. Theupdated view state is stored in the view state object 120 associatedwith the user profile object 102 for the viewing user. The view state isused by the social networking system 100 to determine 408 whether theuser has read the provided news feed stories, in one embodiment.

FIGS. 5A and 5B are examples of a user interface of a process ofselectively providing content to a viewing user of a social networkingsystem, in accordance with an embodiment of the invention. In FIG. 5A,the user interface provides a news feed 500 to a viewing user of thesocial networking system. The news feed 500 includes a plurality of newsfeed stories, including a news feed story 510 about Mary Allencommenting on Debbie Chang's photo 508, a news feed story 512 indicatinga new connection was formed between users Alex and Al Smith, anadvertisement 514, a news feed story 516 indicating a new connection wasformed between users Garrett Brown and Steven Li, and a news feed story518 indicating a new connection was formed between users Elizabeth Whiteand Carl Black. The news feed story 510 includes links 504 for theviewing user to interact with the news feed story 510, includingexpressing approval of the news feed story 510 by “liking” it andcommenting on the news feed story 510. The news feed story 510 alsoincludes a social indicator 506 of other users that expressed interestin the news feed story 510.

The news feed 500 illustrated in FIG. 5A also includes an incoming newsfeed stories link 502 that indicates to the viewing user that there areadditional news feed stories that are ready to be presented. As shown inFIG. 5A, there are “2 New Stories” available to be presented to theviewing user as described in the incoming news feed stories link 502.Over time, as more new incoming news feed stories are generated by thenews feed generator 300, the number of new stories available in theincoming news feed stories link 502 will increase. In one embodiment,the new incoming news feed stories will not be presented to the viewinguser until the viewing user clicks on the incoming news feed storieslink 502. In another embodiment, the new incoming news feed stories arepresented to the viewing user after a predetermined time period elapses.In yet another embodiment, the new incoming news feed stories arepresented to the viewing user if there is a highly relevant news feedstory, as determined by the news feed story highlighting module 308 inthe news feed manager 110. In a further embodiment, new incoming newsfeed stories are presented to the viewing user without the incoming newsfeed stories link 502 being rendered. In that embodiment, new incomingnews feed stories are presented to the viewing user upon generation.

In FIG. 5B, the user interface includes a news feed 500 that includesthe new incoming news feed stories. In one embodiment, the viewing userhas click on the incoming news feed stories link 502 illustrated in FIG.5A, resulting in the presentation for display in the news feed 500 of anews feed story 520 about a link to a video on an external websiteshared by user Michael Roberts and 34 other users connected to theviewing user and a news feed story 528 indicating a new connection wasformed between users Mary Joseph and Peter Carol. The news feed story520 includes a time indicator 522 of when the link was first shared withthe viewing user, 10 hours ago. The news feed story 520 also includes arecent comment on the link by another user of the social networkingsystem that further includes a time indicator of when the comment wasmade, 45 minutes ago. Finally, the news feed story 520 includes agrouping link 526 that indicates information about other users connectedto the viewing user that have also shared the link. Upon clicking thegrouping link 526, the comments of the other users are presented in thenews feed 500 within the news feed story 520.

The news feed story 528 also includes a time indicator 530 of when thenew connection was formed, 1 hour ago. As illustrated in FIG. 5B, thenews feed story 520 that comprises a combined post of multiple postssharing the same link was first shared with the viewing user 10 hoursago, and yet the news feed story 520 is presented above the news feedstory 528 which was completed an hour ago. In one embodiment, the newsfeed story highlighting module 308 may have placed the news feed story520 about the shared link to an external video above the news feed story528 about the formation of a new connection between other users of thesocial networking system because of the type of content included in thenews feed story 520. The viewing user may be more interested in viewingshared links to external videos. In another embodiment, the news feedstory highlighting module 308 may have placed the news feed story 520about the shared link to an external video above the news feed story 528because of the user Franc Williams's comment 524 on the shared link thatwas completed only 45 minutes ago. Because of the new comment from userFranc Williams, the news feed story 520 may have evolved into a newincoming news feed story as determined by the news feed storyhighlighting module 308. In yet another embodiment, if the viewing userdid not have a preference of the content type of the news feed story 520about the shared link to an external video, then the recent comment 524from user Franc Williams made the news feed story 520 more relevant tothe viewing user than the later formation of a connection between otherusers of the social networking system 100.

The new incoming news feed stories 520 and 528 appear above thepreviously presented news feed stories 510 and 512 within the news feed500. In one embodiment, the incoming news feed stories 520 and 528 aredynamically rendered in the news feed 500 upon the viewing user clickingon the link 502 as illustrated in FIG. 5A. In another embodiment, theincoming news feed stories 520 and 528 are automatically rendered in thenews feed 500 upon generation by the news feed generator 300 in the newsfeed manager 110. In yet another embodiment, the incoming news feedstories 520 and 528 may be presented to the viewing user in the newsfeed 500 even if the viewing user does not click on the link 502 becausethe news feed manager 110 determines that the incoming news feed stories520 and 528 are of such relevance that the viewing user would want toview the incoming news feed stories 520 and 528. In a furtherembodiment, the incoming news feed stories 520 and 528 are dynamicallyrendered in the news feed 500 because the news feed manager 110 detectsthat the viewing user is actively engaged with the user interface thatincludes the news feed 500, such as detecting a scroll action, a clickaction on links within the news feed 500, or an active browser window ormobile application. In an alternative embodiment, the incoming news feedstories 520 and 528 are dynamically rendered in the news feed 500 uponthe lapse of a predetermined time period.

Summary

The foregoing description of the embodiments of the invention has beenpresented for the purpose of illustration; it is not intended to beexhaustive or to limit the invention to the precise forms disclosed.Persons skilled in the relevant art can appreciate that manymodifications and variations are possible in light of the abovedisclosure.

Some portions of this description describe the embodiments of theinvention in terms of algorithms and symbolic representations ofoperations on information. These algorithmic descriptions andrepresentations are commonly used by those skilled in the dataprocessing arts to convey the substance of their work effectively toothers skilled in the art. These operations, while describedfunctionally, computationally, or logically, are understood to beimplemented by computer programs or equivalent electrical circuits,microcode, or the like. Furthermore, it has also proven convenient attimes, to refer to these arrangements of operations as modules, withoutloss of generality. The described operations and their associatedmodules may be embodied in software, firmware, hardware, or anycombinations thereof.

Any of the steps, operations, or processes described herein may beperformed or implemented with one or more hardware or software modules,alone or in combination with other devices. In one embodiment, asoftware module is implemented with a computer program productcomprising a computer-readable medium containing computer program code,which can be executed by a computer processor for performing any or allof the steps, operations, or processes described.

Embodiments of the invention may also relate to an apparatus forperforming the operations herein. This apparatus may be speciallyconstructed for the required purposes, and/or it may comprise ageneral-purpose computing device selectively activated or reconfiguredby a computer program stored in the computer. Such a computer programmay be stored in a non-transitory, tangible computer readable storagemedium, or any type of media suitable for storing electronicinstructions, which may be coupled to a computer system bus.Furthermore, any computing systems referred to in the specification mayinclude a single processor or may be architectures employing multipleprocessor designs for increased computing capability.

Embodiments of the invention may also relate to a product that isproduced by a computing process described herein. Such a product maycomprise information resulting from a computing process, where theinformation is stored on a non-transitory, tangible computer readablestorage medium and may include any embodiment of a computer programproduct or other data combination described herein.

Finally, the language used in the specification has been principallyselected for readability and instructional purposes, and it may not havebeen selected to delineate or circumscribe the inventive subject matter.It is therefore intended that the scope of the invention be limited notby this detailed description, but rather by any claims that issue on anapplication based hereon. Accordingly, the disclosure of the embodimentsof the invention is intended to be illustrative, but not limiting, ofthe scope of the invention, which is set forth in the following claims.

What is claimed is:
 1. A method, comprising: obtaining new news storiesbased on activities that occurred since a last viewing session of aviewing user of a social networking system; ranking the new news storiesbased on relevance to the viewing user; selecting a set of top newsstories from the new news stories based on the ranking; and displaying anews feed to the viewing user, where the news feed comprises the set oftop news stories displayed above a remainder of the new news stories anda plurality of previously presented news feed stories, wherein theremainder of the new news stories comprises at least one new news storythat was not selected in the set of top news stories.
 2. The method ofclaim 1, wherein obtaining new news stories based on activities thatoccurred since a last viewing session of a viewing user of a socialnetworking system further comprises: retrieving a plurality ofactivities performed by a plurality of users connected to the viewinguser on the social networking system after the last viewing session ofthe viewing user; and generating new news stories from the retrievedplurality of activities by the plurality of users connected to theviewing user.
 3. The method of claim 1, wherein obtaining new newsstories based on activities that occurred since a last viewing sessionof a viewing user of a social networking system further comprises:retrieving a plurality of activities performed by a plurality of usersconnected to the viewing user on the social networking system after thelast viewing session of the viewing user; determining that a firstactivity of the plurality of activities was performed on a previouslypresented news feed story comprising a second activity performed byanother user connected to the viewing user that was already provided fordisplay to the viewing user; and generating a new news story comprisingthe first activity and the second activity.
 4. The method of claim 1,wherein the last viewing session of a viewing user of a socialnetworking system comprises a time period in which the viewing user mostrecently performed an activity on the social networking system.
 5. Themethod of claim 1, wherein a viewing session of a viewing user of asocial networking system starts upon the viewing user logging into thesocial networking system.
 6. The method of claim 1, wherein a viewingsession of a viewing user of a social networking system ends upon theviewing user logging off of the social networking system.
 7. The methodof claim 1, wherein a viewing session of a viewing user of a socialnetworking system starts upon the viewing user performing an activity onthe social networking system.
 8. The method of claim 1, wherein aviewing session of a viewing user of a social networking system endsupon the viewing user becoming inactive on the social networking system.9. The method of claim 1, wherein ranking the new news stories based onrelevance to the viewing user further comprises: defining a predictionmodel by selecting predictive factors based on received informationabout the viewing user; and refining the prediction model based on userfeedback regarding at least one top news feed story selected by theprediction model.
 10. The method of claim 9, wherein a predictive factorin the prediction model comprises a topic for which the viewing user hasan affinity.
 11. The method of claim 9, wherein a predictive factor inthe prediction model comprises a type of content for which the viewinguser has an affinity.
 12. The method of claim 9, wherein a predictivefactor in the prediction model comprises an application for which theviewing user has an affinity.
 13. The method of claim 9, wherein apredictive factor in the prediction model comprises a reputation metricof a publishing entity.
 14. The method of claim 9, wherein a predictivefactor in the prediction model comprises a virality metric of apotential top news feed story.
 15. The method of claim 9, wherein thereceived information about the viewing user of the social networkingsystem includes a plurality of affinity scores for other entities in thesocial networking system.
 16. The method of claim 9, wherein thereceived information about the viewing user of the social networkingsystem includes social graph information about other users connected tothe viewing user in the social networking system.
 17. The method ofclaim 1, selecting a set of top news stories from the new news storiesbased on the ranking further comprises: selecting a predeterminedpercentage of new news stories based on the ranking as the set of topnews stories.
 18. The method of claim 1, selecting a set of top newsstories from the new news stories based on the ranking furthercomprises: selecting at least one new news story having a score greaterthan a predetermined threshold based on the ranking for inclusion in theset of top news stories.
 19. The method of claim 1, wherein displaying anews feed to the viewing user further comprises: displaying the set oftop news stories in the news feed based on the ranking.
 20. The methodof claim 1, wherein displaying a news feed to the viewing user furthercomprises: displaying the set of top news stories in the news feed;responsive to displaying the set of top news stories in the news feed tothe viewing user, displaying the remainder of the new news stories inreverse chronological order in the news feed to the viewing user; andresponsive to displaying the remainder of the new news stories inreverse chronological order, displaying the plurality of previouslypresented news feed stories in the news feed to the viewing user. 21.The method of claim 1, further comprising: responsive to determiningthat the viewing user has not finished consuming the plurality ofpreviously presented news feed stories in the news feed, providing fordisplay in the news feed a graphical block comprising a link indicatinga count of the new news stories available for consumption by the viewinguser.
 22. A method, comprising: providing a user interface fordisplaying a plurality of news feed stories on a user device associatedwith a user of a social networking system, where the plurality of newsfeed stories communicate a plurality of actions performed by other userson the social networking system connected to the user; receiving anindication that a plurality of incoming news feed stories are availablefor display within the user interface from the social networking system;providing for display the indication within the user interface as aselectable link, the selectable link displaying a count of the pluralityof incoming news feed stories that are available for display within theuser interface; receiving a selection of the link from the userinterface, the selection of the link comprising a confirmation that theplurality of incoming news feed stories are being requested by the user;sending the confirmation to the social networking system; receiving theplurality of incoming news feed stories from the social networkingsystem; and providing the plurality of incoming news feed stories fordisplay within the user interface on the user device associated with theuser.
 23. The method of claim 22, wherein the user interface comprisesan application operating on the user device and wherein the indicationis received through an application programming interface (API) call fromthe social networking system.
 24. The method of claim 22, wherein theuser interface comprises a web page loaded on a browser operating on theuser device and wherein the indication is received through a web pagebrowser instruction from the social networking system.
 25. The method ofclaim 22, wherein the selection of the link comprises a click action.26. The method of claim 22, wherein the selection of the link comprisesa touch action.
 27. The method of claim 22, wherein the selection of thelink comprises a voice input action.